package com.basker.pisces.service.dto;

public class ErrorInfo {
    private String code;
    private String message;

    public ErrorInfo() {

    }

    public ErrorInfo(String message) {
        this("500", message);
    }

    public ErrorInfo(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
